{if$tplconfig['theme']['ads']['btn']==1||$tplconfig['theme']['ads']['btn']==2&&$user.group_id lt 3}
{if condition="$tplconfig['theme']['ads']['art_w']['btn'] eq 1"}
	<div class="ads_art clearfix" style="margin: 0.2rem 0;">
		<div id="1001" class="ads ads_w">
			{$tplconfig['theme']['ads']['art_w']['content']}
		</div>
	</div>
	<script type="text/javascript">var o = document.getElementById("1001");var h = o.offsetHeight; if (h > 0) {} else {$(".ads_art").addClass("hide");}</script>
{/if}{/if}